﻿<?xml version="1.0" encoding="UTF-8"?>
<customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="GetImageCallback">
  <commands>
    <command idMso="FileSave" onAction="OfficeSvnFileSave"/>
  </commands>
    <ribbon>
        <tabs>
            <tab id="officeSvnTab" label="OfficeSVN">

                <group id="lockGroup" label="Lock">
                    <button 
                      id="getLockButton" 
                      onAction="ButtonClick" 
                      screentip="Get lock" 
                      supertip="Get the exclusive lock for the current document." 
                      label="Get lock" 
                      size="large"
                      image="getlock"
                      getEnabled="GetEnabled" />

                    <button 
                      id="releaseLockButton"
                      onAction="ButtonClick" 
                      screentip="Release lock" 
                      supertip="Release the lock of the current document." 
                      label="Release lock" 
                      size="large"
                      image="unlock"
                      getEnabled="GetEnabled" />
                </group>

                <group id="commitGroup" label="Update and Commit">
                    <button 
                      id="addButton" 
                      onAction="ButtonClick" 
                      label="Add" 
                      size="large"
                      image="add"
                      getEnabled="GetEnabled" />

                    <button 
                      id="revertButton" 
                      onAction="ButtonClick" 
                      screentip="Revert changes" 
                      supertip="This will revert the changes that you have made to your working copy." 
                      label="Revert" 
                      size="large"
                      image="revert"
                      getEnabled="GetEnabled" />

                    <button 
                      id="commitButton" 
                      onAction="ButtonClick" 
                      label="Commit" 
                      size="large"
                      image="commit"
                      getEnabled="GetEnabled" />

                    <button 
                      id="updateButton" 
                      onAction="ButtonClick" 
                      label="Update" 
                      size="large"
                      image="update"
                      getEnabled="GetEnabled" />
                </group>

                <group id="svnInfoGroup" label="Subversion information">
                    <labelControl 
                      id="repositoryPathInfoLabel" 
                      label="Repository path:" />

                    <labelControl 
                      id="revisionInfoLabel" 
                      label="Revision:" />

                    <labelControl 
                      id="statusInfoLabel" 
                      label="Status:" />

                    <separator 
                      id="separator1" />

                    <labelControl 
                      id="repositoryPathLabel" 
                      getLabel="GetLabel" />

                    <labelControl 
                      id="revisionLabel" 
                      getLabel="GetLabel" />

                    <labelControl 
                      id="statusLabel"
                      getLabel="GetLabel" />
                  </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>